FUNCTION
Set or clear the checkmark of a menu item. The application will ask its sub windows for menu items with the given id and set/clear all found entries.